import request from '@/utils/request'

//合成商品
/**
 * 获取合成商品列表
 * @param {page,limit,keywords} data 
 * @returns 
 */

export function synthesisList(data) {
    return request({
        url: '/admin/compound/compoundList',
        method: 'post',
        data
    })
}

export function delSynthesis(data) {
    return request({
        url: '/admin/compound/delCompound',
        method: 'post',
        data
    })
}

export function addSynthesis(data) {
    return request({
        url: '/admin/compound/addCompound',
        method: 'post',
        data
    })
}

export function editSynthesis(data) {
    return request({
        url: '/admin/compound/editCompound',
        method: 'post',
        data
    })
}